﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SerializedData
{
    /// <summary>
    /// The IDController holds the highest ID for each type of saved Element (State, Scene, Sensor or Command).
    /// </summary>
    [Serializable()]
    public class IDController
    {
        private long _sceneId, _stateId, _commandId,_sensorId;
        public long SceneId
        {
            get { return _sceneId; }
            set { _sceneId=value;}
        }
        public long CommandId
        {
            get { return _commandId; }
            set { _commandId = value; }
        }
        public long StateId
        {
            get { return _stateId; }
            set { _stateId = value; }
        }
        public long SensorId
        {
            get { return _sensorId; }
            set { _sensorId = value; }
        }

    }
}
